namespace Forging2.DataBase.QID_IGDATA_ZY
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class dy_route_line
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public dy_route_line()
        {
            dy_workrecord = new HashSet<dy_workrecord>();
        }

        public int ID { get; set; }

        [Key]
        [StringLength(50)]
        public string Route_id { get; set; }

        [Required]
        [StringLength(50)]
        public string RouteCode { get; set; }

        [Required]
        [StringLength(50)]
        public string RouteName { get; set; }

        [Required]
        [StringLength(50)]
        public string ForgeNo { get; set; }

        public decimal ProcessWeight { get; set; }

        public byte CombineMethod { get; set; }

        public byte State { get; set; }

        public byte IsDelete { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<dy_workrecord> dy_workrecord { get; set; }
    }
}
